package com.seckill.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("orderinfo")
public class orderinfo {
    @TableId(value = "orderid",type = IdType.AUTO)
    private int orderid;
    private int userid;
    private int goodsid;

    private String goodsname;
    private int goodscount;
    private int goodsprice;
    private int orderstatus;
    private Date createdate;
    private Date paydate;

}
